package com.epalmpay.service.mall;

import com.epalmpay.dto.mall.FreightDetailDTO;
import com.epalmpay.dto.mall.FreightTemplateInDTO;
import com.epalmpay.dto.mall.FreightTemplateOutDTO;
import com.epalmpay.dto.system.BaseOutDTO;

import java.util.List;
import java.util.Map;

/**
 * Created by lifayi on 2017/8/3.
 */
public interface IFreightTemplateService {
    List<FreightTemplateOutDTO> listFreightTemplate(Long groupId) throws Exception;

    List<FreightDetailDTO> freightDetail(Long freightId, Long groupId) throws Exception;

    BaseOutDTO freightDel(Long freightId, Long groupId);

    FreightTemplateOutDTO freightTemplateDetail(Long freightId, Long groupId) throws Exception;

    BaseOutDTO freightAdd(FreightTemplateInDTO freightTemplateInDTO) throws Exception;

    List<Map<String, Object>> listAllFreightNameAndId(Long groupId);
}
